<ul class="list">
    <? foreach ($products as $product): ?>
    <?php
        $link = '/proizvod/' . $product['Product']['id'].
                         '/' . urlize($product['Group']['name']).
                         '/' . urlize($product['Product']['name']);
    ?><li>
        <h2><?= $product['Product']['name'] ?></h2>
        <a href="<?= $link ?>" class="shadow"></a>
        <span class="image"><?= 
            $this->Html->image('products/' . 
                               $product['Group']['id'] . '/' .
                               $product['Product']['image'] .
                               '?h=200&w=200&wm=1')
        ?></span>
    </li>
    <? endforeach ?>
</ul>